package com.api.shopapi.service;

import com.api.shopapi.entity.Cart;
import com.api.shopapi.entity.CashierCart;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CashierCartService {

    int insert(CashierCart cashierCart);

    int update(CashierCart cashierCart);

    int delete(String cartCode);

    List<CashierCart> getList();

    CashierCart getByCashierCartCode(String cashierCart);

    CashierCart getByUserCodeGovernmentCode(String userCode, String governmentCode);
}
